package edu.cmu.ibill.util;

/**
 * 
 * @author Yunkai Zhang
 * 15-637
 */


public class StringProcessor {
	
	public static String process(String input){
		if(input == null)
			return "";
		input = input.trim();
		String output = input.replaceAll("<", "&lt").replaceAll(">", "&gt").replaceAll("\\\"", "&quot;");
		return output;
	}

}
